package data.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import data.dao.daoImplementation.NotFoundException;
import data.dto.LeaveTypeDTO;


public interface LeaveTypeDAO {
	//public ArrayList<LeaveTypeDTO> findLeaveType(LeaveSearchDTO leavesearchdto) throws LeaveDAOException, SQLException, data.dao.daoImplementation.SQLException;
	public ArrayList<LeaveTypeDTO> findAllLeaveType() throws LeaveDAOException, SQLException, data.dao.daoImplementation.SQLException;
    public void insertLeaveDetailType(LeaveTypeDTO LeaveDetail) throws LeaveDAOException, SQLException, data.dao.daoImplementation.SQLException;
    public void updateLeaveDetailType(LeaveTypeDTO LeaveDetail) throws LeaveDAOException, SQLException, NotFoundException, data.dao.daoImplementation.SQLException;
    public void deleteLeaveDetailType(LeaveTypeDTO LeaveDetail) throws LeaveDAOException, SQLException, NotFoundException, data.dao.daoImplementation.SQLException;
	public ArrayList<LeaveTypeDTO> findLeaveType(short id) throws LeaveDAOException, SQLException, data.dao.daoImplementation.SQLException;
}